home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Date: 10 Apr 1996 12:59:58 -0700
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4kh3vuINNosv@keats.ugrad.cs.ubc.ca>
- References: <JSA.96Feb16135027@organon.com> <4kcpgkINNcku@keats.ugrad.cs.ubc.ca> <TYNOR.96Apr9105114@twratl.atlanta.twr.com> <4kgunm$o4o@gde.GDEsystems.COM>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4kgunm$o4o@gde.GDEsystems.COM>, Chet <kackman> wrote:
- >If i = j depends on your unit of address. If i is assumed a longword then
- >
- > &i + 4 = &j is true
- > not
- > &i + 1 = &j
-
- Are you serious or is this a (somewhat flat) continuation of the joke?
-
- The &i expression yields a pointer to the type of i, and the pointer arithmetic
- depends on this type.
- --
-
-